using System;
using System.Collections.Generic;

namespace DemoWebapi01.Entities
{
    /// <summary>
    /// 知识点分类表
    /// </summary>
    public class Category
    {
        public Guid CategoryID { get; set; }
        public string? Name { get; set; }
        public string? Icon { get; set; }
        public string? Description { get; set; }
        public int DisplayOrder { get; set; } = 0;
        public virtual ICollection<Question> Questions { get; set; } = [];
    }
}